package Model;

public class Customer {
	
	private String name;
	private String address;
	private String zip;
	private String city;
	private long phone;
	private String type;
	private int id;

	
	public Customer(String name, String address, String zip, String city, long phone, String type, int id){
		
		this.name = name;
		this.address = address;
		this.zip = zip;
		this.city = city;
		this.phone = phone;
		this.type = type;
		this.id = id;
		
	}
	public Customer()
	{
		
	}
	
	public Customer(int id) {
		// TODO Auto-generated constructor stub
		this.id = id;
	}
	
	//set methods
	

	public void setName(String name){
				
		this.name = name;
	}
	
	public void setZip(String zip){
		
		this.zip = zip;
	}
	public void setAddress(String address){
		this.address = address;
		
	}
	
	public void setCity(String city){
		
		this.city = city;
		
	}
	
	public void setPhone(long phone){
		
		this.phone = phone;
		
	}
	public void setType(String type){
		
		
		this.type = type;
	}
	
	public void setId(int id){
		
		
		this.id = id;
	}
	
	//get methods
	
	public String getName(){
		
		
		return name;
	}
	
	public String getAddress(){
		
		
		return address;
	}
	
	public String getCity(){
		
		
		return city;
	}
	
	public long getPhone(){
		
		
		return phone;
	}
	
	public String getType(){
		
		
		return type;
	}
	
	public int getId(){
		
		
		return id;
	}
	public String getZip(){
		
		
		return zip;
	}
	
	public String all() {
	    
	    return name + " | " + address +   " | " + zip + " | "  + city  + " | " + phone  + " | " + type  + " | " + id;
	}

}
